﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace GDev.PopupBox
{
    public abstract class MessageBoxIcon
    {
        #region 抽象方法

        public abstract FrameworkElement GetTitleIcon();

        public abstract FrameworkElement GetContentIcon();

        #endregion

        #region 静态获取实例

        private static readonly ImageIcon m_Warn = new ImageIcon("Img/Warn.png");

        public static MessageBoxIcon Warn
        {
            get
            {
                return m_Warn;
            }
        }

        private static readonly ImageIcon m_Error = new ImageIcon("Img/Error.png");

        public static MessageBoxIcon Error
        {
            get
            {
                return m_Error;
            }
        }

        private static readonly ImageIcon m_Caution = new ImageIcon("Img/Caution.png");

        public static MessageBoxIcon Caution
        {
            get
            {
                return m_Caution;
            }
        }

        private static readonly ImageIcon m_Information = new ImageIcon("Img/Information.png");

        public static MessageBoxIcon Information
        {
            get
            {
                return m_Information;
            }
        }

        private static readonly ImageIcon m_Question = new ImageIcon("Img/Question.png");

        public static MessageBoxIcon Question
        {
            get
            {
                return m_Question;
            }
        }

        #endregion
    }
}
